< Prev(J) / Next(K) > / View :

Filename: /text/sbasic/shared/03070500.xhp

(section: potenz) (bookmark: bm_id3145315)
"^" operator (mathematical)

「/」演算子 算術演算子

"^" Operator [Runtime]
「^」演算子 [実行時](hd_id3145315.1)

Raises a number to a power.
与えられた数値の指数 (累乗、べき乗) 計算を行います。(par_id3149670.2)

(/section: potenz)

Syntax:
構文:(hd_id3147264.3)

Result = Expression ^ Exponent
Result = Expression ^ Exponent(par_id3149656.4)

Parameters:
パラメータ:(hd_id3151211.5)

Result: Any numerical expression that contains the result of the number raised to a power.
Result: 演算結果を格納する数値表式(par_id3153192.6)

Expression: Numerical value that you want to raise to a power.
Expression: 指数計算を行う数値。(par_id3150448.7)

Exponent: The value of the power that you want to raise the expression to.
Exponent: 先に与えられた数値を何乗するかを指定する数値 (べき計算の指数)。(par_id3156422.8)

Example:
例:(hd_id3147287.9)

Sub Example
Sub Example(par_id3153770.10)

Print ( 12.345 ^ 23 )
Print ( 12.345 ^ 23 )(par_id3152886.11)

Print Exp ( 23 * Log( 12.345 ) ) REM Raises by forming a logarithm
Print Exp ( 23 * Log( 12.345 ) ) REM 対数計算の掛け算を使った指数計算(par_id3146984.12)

End Sub
End Sub(par_id3148618.13)


< Prev / Next >